package com.info.zhiduoduo.repository.dto.invoice;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class InvoiceDetailDto {

	private int id;
	/**
	 * 申请编号
	 */
	private String applyno;
	private int projectid;
	private String projectname;
	private int invoicetype;
	private BigDecimal invoiceAmount;
	private String content;
	private Integer userid;
	private String username;
	private String userTaxno;
	private String userAcctbank;
	private String userAcctno;
	private String userTelephone;
	private String userAddress;
	private Integer compid;
	private String compname;
	private String creditcode;
	private String compTaxno;
	private String compAcctbank;
	private String compAcctno;
	private String compTelephone;
	private String compAddress;
	private String contactname;
	private String contactphone;
	private Date createtime;
	private String remark;
	private int type;
	private String email;
	private String express;
	private String expressno;
	@ApiModelProperty("支付类型id")
	private Integer payId;
	@ApiModelProperty("线下应付金额(服务费+税费)")
	private BigDecimal payAmount;
	@ApiModelProperty("线下支付人: 0:无 1:创客 2:企业")
	private Integer payer;
	@ApiModelProperty("线下支付状态: 1:未支付 2:已支付 3:已处理")
	private int offlinePayState;
	@ApiModelProperty("汇款凭证")
	private String payReceipt;
	@ApiModelProperty("支付时间")
	private Date paytime;
	@ApiModelProperty("企业策略性开票开关 0:否 1:是")
	private int strategyInvoice;
	@ApiModelProperty("是否是策略性开票 0:否 1:是")
	private int strategy;
	@ApiModelProperty("策略性开票日期")
	private Date strategyDate;
	@ApiModelProperty("策略性开票备注")
	private String strategyRemark;

	@ApiModelProperty("补录时间")
	private Date supplementTime;
	@ApiModelProperty("是否是补录：0：不是，1.是")
	private Integer whetherSupplement;
	@ApiModelProperty("补录人员ID")
	private Integer supplementPersonnel;

}
